<script>
    //De esta forma se oculta el botón de guardar.
    $("input[type='submit']").click(function(){
        if($(this).attr('class')!='not_hidden'){
            $(this).hide();
        }
    });
</script>
<?php echo $this->Form->create("Call", array("class" => "validacion", "action" => "edit/" . $this->data['Call']['id'])); ?>
<?php echo $this->Form->input('Call.id', array('label' => 'id', 'class' => '')); ?>
<?php echo $this->Form->input('Call.nombre', array('label' => 'Nombre', 'class' => 'required')); ?>
<?php echo $this->Form->input('Call.valor_smmv', array('label' => 'Valor smmv', 'class' => 'required')); ?>
<?php echo $this->Form->input('Call.smmv_predios', array('label' => 'Smmv predios', 'class' => '')); ?>
<?php echo $this->Form->input('Call.smmv_proyecto', array('label' => 'Smmv proyecto', 'class' => '')); ?>
<?php echo $this->Form->input('Call.smmv_notarial', array('label' => 'Smmv notarial', 'class' => '')); ?>
<?php echo $this->Form->end("Guardar") ?>

<?php echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'calls', 'action' => 'index'), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false)); ?>